The Design Notes API > The Design Notes C API > FileHandle OpenNotesFile()

 

FileHandle OpenNotesFile()

Description

Opens the Design Notes file associated with the specified file, or creates one if none exists.

Arguments

const char* localFileURL, {BOOL bForceCreate}

The first argument is a string containing the path to the main file with which the Design Notes file is associated, expressed as a file:// URL.
The second argument is a Boolean value indicating whether to create the Design Notes file even if Design Notes is turned off for the site or if filePath is not associated with any site.